package com.erci.mapper;

import com.erci.entity.Episode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper

public interface EpisodeMapper {
    @Select("select episode_id from anime_episodes where anime_id=#{id}")
    List<Integer> queryEpisodeIds(Integer id);

    List<Episode> queryEpisodesByIds(List<Integer> episodeIds);
}
